#ifndef _WRITER_
#define _WRITER_

#include <sys/types.h>
#include <sys/stat.h>

#include "Token.h"
#include "Value.h"
#include "Lexem.h"
#include "AutomatComp.h"

class Writer{
	char buffer[10000];
	unsigned int byteswritten;
	int fh;
	string* types;

public: 
	Writer(char* datei);
private:
	void writeToken(char* buffer, int length);
public:
	void writeTokenFile(Token token);
private:
	string umwandeln(int zahl);

};
#endif
